Skip to content

Conversation

@suyeun84
Copy link
Contributor

@suyeun84 suyeun84 commented Feb 6, 2025

🧷 문제 링크

https://www.acmicpc.net/problem/2615

🧭 풀이 시간

40분

👀 체감 난이도

✏️ 문제 설명

오목을 누가 이겼는지 판단하고, 완성된 오목의 가장 왼쪽위 좌표를 출력한다.

🔍 풀이 방법

8방향을 전부 확인하지 않고, 1.오른쪽 2.아래 3.우상단 4.우하단 으로 가는 방향만 검사하고,
6목을 방지하기 위해 첫좌표의 반대로 1만큼 가서 같은 오목이 놓아져 있는지 확인한다.

⏳ 회고

어렵지는 않은데, 좌표 범위 검사 제대로 하자...

@suyeun84 suyeun84 added the success 👍 해설을 보지 않고 풀었을 때 label Feb 6, 2025
@ShinHeeEul ShinHeeEul merged commit a4d5151 into main Feb 6, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants